package mwt.xml.xdbforms.dbms.metadata.impl;

public class PrimaryKeyMetadata {

    /** column name */
    private String columnName;

    /** sequence number within primary key( a value of 1 represents the
     * first column of the primary key, a value of 2 would represent
     * the second column within the primary key)
     */
    private short seq;

    /** primary key name (may be null) */
    private String name;

    public PrimaryKeyMetadata() {
        super();
    }

    public PrimaryKeyMetadata(String columnName, short seq, String name) {
        this.columnName = columnName;
        this.seq = seq;
        this.name = name;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public short getSeq() {
        return seq;
    }

    public void setSeq(short seq) {
        this.seq = seq;
    }
}
